Fft-Based Terrain Segmentation For Underwater Mapping